﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using ThuVien;

namespace TranTekBE
{
    public partial class Home : BasePage
    {
        protected void Page_Load(object sender, EventArgs e)
        {

            // check Ip cho phép vào web không
            ScriptManager.RegisterStartupScript(this.Page, typeof(Page), "LoadJS", "LoadJS();", true);
            if (Session["CheckIPAllow"] == null || Session["CheckIPAllow"].ToString() != "1")
                Session["CheckIPAllow"] = FunctionsUtils.ConvertToInt(FunctionsUtils.GetValueStringFromQueryString("ad", "0"), 0);
            //Session["IP_Wan_Client"] = hdgetip.ToString();
        }
    }
}